<template>
  <div>
    <ul>
      <li v-for="(item,index) in arr" :key="index">{{index}}---{{item}}</li>
    </ul>
    <p v-for="(value,key) in obj" :key="key">{{key}}---{{value}}</p>
    <p v-for="item,index in 10" :key="index">{{index}}我是第{{item}}个</p>
  </div>
</template>

<script>
export default {

  data() {
    return {
      arr: ['张三','李四','王五'],
      obj: {
        name:'胡八一',
        age:40
      }

      
    };
  },

  methods: {
    
  },
};
</script>

<style>

</style>